FROM m.daocloud.io/docker.io/library/openjdk:8-jre-alpine
LABEL maintainer=me
ENV JAVA_ARGS="-Dfile.encoding=UTF8 -Duser.timezone=GMT+08"
ENV JAR_FILE="relationship-client.jar"
COPY ./target/${JAR_FILE} ./
EXPOSE 8890
CMD java -jar ${JAVA_ARGS} ${JAVA_OPTS} /${JAR_FILE}